package ar.org.cfired.creditos.parametros;

import java.util.HashMap;
import java.util.Map;

import org.jbpm.api.Configuration;
import org.jbpm.api.ExecutionService;
import org.jbpm.api.ProcessInstance;

public class GeneraDocumentosParametros {
	public static void main(String[] args) {

        ExecutionService executionService = new Configuration().buildProcessEngine().getExecutionService();
        ProcessInstance processInstance = null;
        processInstance = executionService.startProcessInstanceByKey("parametro_password");

        System.out.println(processInstance.getState() + "\nListo!!");
    }
}
